package com.yunxi.order.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.order.pojo.OrderCustomerDetailVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 零售订单明细 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-29
 */
public interface OrderCustomerDetailDubboService {

    OrderCustomerDetailVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(OrderCustomerDetailVO orderCustomerDetailVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<OrderCustomerDetailVO> findPageByVO(OrderCustomerDetailVO orderCustomerDetailVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<OrderCustomerDetailVO> orderCustomerDetailVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    void save(OrderCustomerDetailVO orderCustomerDetailVO);

    void update(OrderCustomerDetailVO orderCustomerDetailVO);

    OrderCustomerDetailVO getByOrderNo(String orderNo);
}
